package com.baylor.server.business.util;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

public abstract class Sets {
	public static final <T> Set<T> newHashSet() {
		return new HashSet<T>();
	}

	public static final <T> Set<T> unmodifiable(Set<T> source) {
		return Collections.unmodifiableSet(source);
	}

	public static final boolean hasAny(Set<?> source, Set<?> test) {
		return !Collections.disjoint(source, test);
	}
}
